import TRDefault from '@/tool/components/TRTheme/TRDefault';
import type { ReactNode } from 'react';

export default function ClearingPriceForecastEmpty(props: {
  children: ReactNode;
  isEmpty: boolean;
}): JSX.Element {
  return props.isEmpty ? <TRDefault type="emptysm" /> : <>{props.children}</>;
}
